package com.eshop.modules.system.service.dto;

import com.eshop.annotation.Query;

public class PermissionQueryCriteria
{
    @Query(blurry = "name,alias")
    private String blurry;
    
    public String getBlurry() {
        return this.blurry;
    }
    
    public void setBlurry(final String blurry) {
        this.blurry = blurry;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PermissionQueryCriteria)) {
            return false;
        }
        final PermissionQueryCriteria other = (PermissionQueryCriteria)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$blurry = this.getBlurry();
        final Object other$blurry = other.getBlurry();
        if (this$blurry == null) {
            if (other$blurry == null) {
                return true;
            }
        }
        else if (this$blurry.equals(other$blurry)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof PermissionQueryCriteria;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $blurry = this.getBlurry();
        result = result * 59 + (($blurry == null) ? 43 : $blurry.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "PermissionQueryCriteria(blurry=" + this.getBlurry() + ")";
    }
}
